<script setup lang="ts">
import { useJokerStore } from '@/store/joker'

const jokeStore=useJokerStore()
</script>

<template>
  <div>
  <div>{{ jokeStore.joke }}</div>
  <button @click="jokeStore.setJoke()">切换笑话</button>
  </div>

</template>

<style>

</style>